{% load trix_translations %}
<html lang="{{ LANGUAGE_CODE }}" dir="{% if LANGUAGE_BIDI and not is_admin_section %}rtl{% else %}ltr{% endif %}">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>{% translate "admin_page_title" %}</title>
		<link href="/static/css/bootstrap.min.css" rel="stylesheet">
		<link href="/static/css/bootstrap-responsive.min.css" rel="stylesheet">
		<link href="/static/css/common.css" rel="stylesheet" type="text/css" media="all" />
		<link href="/static/css/admin.css" rel="stylesheet" type="text/css" media="all" />
		<link href="/static/css/datepicker.css" rel="stylesheet" type="text/css" media="all" />
	</head>
	<body>
		<div class="container-fluid">
			<header class="row-fluid">
				<h1 class="span12">{% translate "admin_title" %} <a href="{% url admin %}" class="admin">{% translate "admin" %}</a></h1>
				<div id="langselector">
					{% if LANGUAGE_CODE = "en" %}
						<a class="ar" href="/ar/admin/" dir="rtl">العربية</a>
					{% else %}
						<a class="en" href="/admin/">English</a>
					{% endif %}
				</div>
			</header>
		</div>
		{% block content %}{% endblock %}
		<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
		<script src="/static/js/minicolors.js"></script>
		<script src="/static/js/bootstrap-datepicker.js"></script>
		<script src="/static/js/admin.js"></script>
	</body>
</html>